#ifndef PIXELIMAGE
#define PIXELIMAGE

#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include "../multprocessor/multprocessor.h"

using namespace std;

class PixelImage
{

  MultProcessor * processors;
  int height;
  int width;
  int currentXPosition;
  int currentYPosition;
  unsigned int pixelAddressCounter;
  bool currentPixel;
  

  void InsertPixel(void);
  bool IncrementToNextPixelPosition(void);
  void InitializePixelMatrix(void);
  void LoadImageIntoMatrix(ifstream * pixelFile);

public:
  PixelImage(char * fileName);
  ~PixelImage(void);

  void PrintPixelImage(void);

  MultProcessor * GetLoadedImage(void);

};

#endif
